package com.yq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * @author zxn
 * @date 2020-03-16
 * @description 
 */
public class Healthregistration extends Model<Healthregistration> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String openid;

    private String username;

    private String sex;

    private String card;

    private String iphone;

    private String address;

    private String companyname;

    private Integer status;

    private Integer communityid;

    private String communityname;

    private String photo;

    private Integer inorout;

    private Integer companynumber;

    private Integer roomnumber;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getIphone() {
        return iphone;
    }

    public void setIphone(String iphone) {
        this.iphone = iphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCommunityid() {
        return communityid;
    }

    public void setCommunityid(Integer communityid) {
        this.communityid = communityid;
    }

    public String getCommunityname() {
        return communityname;
    }

    public void setCommunityname(String communityname) {
        this.communityname = communityname;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getInorout() {
        return inorout;
    }

    public void setInorout(Integer inorout) {
        this.inorout = inorout;
    }

    public Integer getCompanynumber() {
        return companynumber;
    }

    public void setCompanynumber(Integer companynumber) {
        this.companynumber = companynumber;
    }

    public Integer getRoomnumber() {
        return roomnumber;
    }

    public void setRoomnumber(Integer roomnumber) {
        this.roomnumber = roomnumber;
    }

    public static final String ID = "id";

    public static final String OPENID = "openid";

    public static final String USERNAME = "username";

    public static final String SEX = "sex";

    public static final String CARD = "card";

    public static final String IPHONE = "iphone";

    public static final String ADDRESS = "address";

    public static final String COMPANYNAME = "companyname";

    public static final String STATUS = "status";

    public static final String COMMUNITYID = "communityid";

    public static final String COMMUNITYNAME = "communityname";

    public static final String PHOTO = "photo";

    public static final String INOROUT = "inorout";

    public static final String COMPANYNUMBER = "companynumber";

    public static final String ROOMNUMBER = "roomnumber";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Healthregistration{" +
        "id=" + id +
        ", openid=" + openid +
        ", username=" + username +
        ", sex=" + sex +
        ", card=" + card +
        ", iphone=" + iphone +
        ", address=" + address +
        ", companyname=" + companyname +
        ", status=" + status +
        ", communityid=" + communityid +
        ", communityname=" + communityname +
        ", photo=" + photo +
        ", inorout=" + inorout +
        ", companynumber=" + companynumber +
        ", roomnumber=" + roomnumber +
        "}";
    }
}
